package edu.stu.cs.software.family.admin.service;

import java.util.List;

import edu.stu.cs.software.family.admin.domain.User;
import edu.stu.cs.software.family.base.service.GenericManager;

/**
 * The service interface class inherits the base class GenericManager
 * @author Administrator
 *
 */

public interface UserManager extends GenericManager<User,Long> {

	/**
	 * 
	 * @param qq
	 * @return
	 */
	List<User> findByPhone(String phone);
	/**
	 * 
	 * @param userName
	 * @return
	 */
	List<User> findByUserName(String userName);
	
	User findByName(String username);
}
